﻿package com.D5Power.Player
{
	import flash.display.MovieClip;
	import flash.display.Stage;
	public class D5CtrlBar extends MovieClip
	{
		public function D5CtrlBar(w:uint=550,h:uint=400)
		{
			d5width=w;
			d5height=h;
			init();
		}
		
		private function init():void
		{
			ctrl_bg.width=d5width;
			this.y=d5height-ctrl_bg.height;
			this.x=0;
			setupProcessBar();
		}
		
		private function setupProcessBar():void
		{
			process_bar_l.y= process_bar_m.y =process_bar_r.y =(ctrl_bg.height-process_bar_l.height)/2
		}
		
		private var d5width:uint;
		private var d5height:uint;
	}
}